package day607.demo02;

public class TestRunnable {
    public static void main(String[] args) {
        RunnableImpl ri = new RunnableImpl();
        Thread t = new Thread(ri);
        t.start();
        for (int i = 0;i < 10;i++){
            System.out.println(Thread.currentThread().getName() + "-->" + i);
        }
    }
}
